﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Goodsmoels
{//商品表
    [Table("Goods")]
    public class Goods
    {
        [Key]
        //商品Id
        public int GoodsId { get; set; }
        //商品名称
        public string GoodsName { get; set; }
        //商品图片
        public string GoodsImages { get; set; }
        //商品介绍
        public string GoodsIntroduce { get; set; }
        //价格
        public int GoodsPrice { get; set; }
        //数量
        public int GoodsNum { get; set; } = 1;
        //规格 
        public string GoodsSize { get; set; }
        //颜色
        public string GoodsColor { get; set; }
        //时间
        public DateTime GoodsTime { get; set; } = DateTime.Now;

    }
}
